package com.atguigu.tingshu.album.client.impl;


import com.atguigu.tingshu.album.client.AlbumInfoFeignClient;
import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.model.album.AlbumInfo;
import com.atguigu.tingshu.model.user.UserInfo;
import com.atguigu.tingshu.vo.album.AlbumStatVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@Slf4j
public class AlbumInfoDegradeFeignClient implements AlbumInfoFeignClient {


    @Override
    public Result<AlbumInfo> getAlbumInfo(Long albumId) {
        log.info("AlbumInfoDegradeFeignClient....getAlbumInfo方法执行了....");
        return Result.ok();
    }


    public Result<AlbumStatVo> findAlbumStatByAlbumId(@PathVariable(value = "albumId") Long albumId){
        log.info("AlbumInfoDegradeFeignClient.....findAlbumStatByAlbumId方法执行了...");
        return Result.ok();
    }


}
